<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		if(request.getAttribute("error")!=null)
		{		
	%>
	ERROR:
	<%= request.getAttribute("error").toString() %>
	<%
		}
	%>

<h2>Job Application Form</h2>
<form method="post" action="HeadHunter"  >
	<table>
		<tr>
			<td>Name Surname:</td>
			<td><input type="text" name="name-surname" >*</td>
		</tr>
		<tr>
			<td>University:</td>
			<td><input type="text" name="university">*</td>
		</tr>
		<tr>
			<td>GPA:</td>
			<td><input type="text" name="gpa" >*</td>
		</tr>
		<tr>
			<td>Degree:</td>
			<td>
				BS<input type="radio" name="degree" value="1" checked="checked" >&nbsp;
				MS<input type="radio" name="degree" value="2" >&nbsp;
				PHD<input type="radio" name="degree" value="3" >
			</td>
		</tr>
		<tr>
			<td>Experience (year):</td>
			<td><input type="text" name="experience" ></td>
		</tr>
		<tr>
			<td>Gender:</td>
			<td>
				Male<input type="radio" name="gender" value="male" checked="checked" >&nbsp;
				Female<input type="radio" name="gender" value="female" >
			</td>
		</tr>
	</table>
	<input type="submit">
</form>
	<%
		if(request.getAttribute("response")!=null)
		{		
	%>
	<%= request.getAttribute("response").toString() %> approved your application.
	<%
		}
	%>
</body>
</html>